import { request } from "@/utils/request";

// 同住人员添加
export const saveOrUpdateInmateApi = (data) => {
    return request({
        url: '/ht-smart-house/inmateManage/saveOrUpdateInmate',
        method: 'POST',
        data: data
    })
}
// 同住人员列表
export const getInmateListApi = (data) => {
    return request({
        url: '/ht-smart-house/inmateManage/getInmateList',
        method: 'POST',
        data: data
    })
}
// 同住人员删除
export const deleteInmateApi = (id) => {
    return request({
        url: '/ht-smart-house/inmateManage/deleteInmate',
        method: 'GET',
        data: {
            id:id
        }
    })
}